#平台依赖 amba cv 系列
#LINK_DIRECTORIES(${PROJECT_SOURCE_DIR}/lib/amba_cv2x/)
#INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/include/amba)

set(tools /opt/hisi-linux-nptl/arm-hisiv100-linux)
set(CMAKE_C_COMPILER ${tools}/bin/arm-hisiv100-linux-uclibcgnueabi-gcc)
set(CMAKE_CXX_COMPILER ${tools}/bin/arm-hisiv100-linux-uclibcgnueabi-g++)
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_PROCESSOR arm)
add_definitions(-D_HAVE_LUA_)